package com.csthink.common.infrastructure.exception;

import com.csthink.common.infrastructure.enums.ErrorEnum;

import java.io.Serializable;

/**
 * Redis限流自定义异常
 *
 * @author <a href="mailto:security.2009@live.cn">Mars</a>
 * @since 2023-09-08
 */
public class RequestLimitException extends BaseException implements Serializable {

    private static final long serialVersionUID = -9174084935580099300L;

    public RequestLimitException(ErrorEnum errorEnum) {
        super(errorEnum);
    }

    public RequestLimitException(ErrorEnum errorEnum, Object errorMsg) {
        super(errorEnum, errorMsg);
    }

    public RequestLimitException(ErrorEnum errorEnum, Object errorMsg, Throwable throwable) {
        super(errorEnum, errorMsg, throwable);
    }
}
